extends ../layout

block content
    .container-fluid.container.mt15
      .row-fluid
        .span9.left
          .topics.container-box.node-topics
            .ui-header
              a.btn.btn-small.fr(type='button', href='/nodes/#{node.key}/new') 创建新主题
              span.bread-nav #{locals.site_name} › #{node.name} (#{topicsCount})
            .ui-content
              if topics.length != 0
                for topic in topics
                  //- - var node = node
                  - var user = topic.user
                  include ../share/topic
              else 
                .pl10.pr10
                  .alert.mt20.no-topics
                    该结点下暂时还没有主题，发出你的讨论吧。
            .ui-footer
        .span3.right
          if locals.current_user
            - var user = locals.current_user
            include ../share/user_info
          else 
            include ../share/login_box
